export const useStars = (num, callBack) => {
  //即时显示的星星数量
  let realNum = ref(num);

  //设置星星的方法
  const setStars = (index) => {
    realNum.value = index + 1;
    callBack();
  };
  return [realNum, setStars];
};
